.app-container {
  display: flex;
  height: 100vh;
  font-family: Arial, sans-serif;
}

.left-panel {
  width: 250px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #dee2e6;
  height: 100%;
}

.function-palette {
  flex: 1;
  background: #f8f9fa;
  padding: 15px;
  overflow-y: auto;
}
.function-item {
  padding: 10px;
  margin: 5px 0;
  background: white;
  border: 1px solid #ced4da;
  border-radius: 4px;
  transition: all 0.2s;
}

.runtime-info-panel {
  flex-shrink: 0;
  background: white;
  height: 50%;
  overflow-y: auto;
}


/* 中心画布区域 */
.flow-canvas {
  flex: 1;
  position: relative;
  background: #f1f3f5;
}

/* 节点样式 */
.function-node {
  position: absolute;
  width: 150px;
  min-height: 80px;
  background: white;
  border: 2px solid;
  border-radius: 6px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.node-header {
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.node-body {
  color: #666;
  font-size: 0.9em;
}

/* 连接线层 */
.connections-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

